/**
 * Created by Wilson on 1/23/2015.
 */
(function () {
    angular.module('app')
        .controller('forgetPwdController', forgetPwdController);

    forgetPwdController.$inject = ['$scope', 'userService'];
    function forgetPwdController($scope, userService) {

        $scope.updatePwd = updatePwd;

        function updatePwd() {
            userService.updatePwd($scope.loginName, $scope.loginPwd);
        }
    }

})();